const KoaRouter = require('koa-router');

const accountRouter = new KoaRouter({prefix: '/account'});

const {
  accountLogin,
  accountRegister
} = require('../controller/account.controller');

// 账户登录
accountRouter.get('/accountLogin', accountLogin);

// 账户注册
accountRouter.get('/accountRegister', accountRegister);

module.exports = accountRouter;